package team.seekers.hula.question.point.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import team.seekers.hula.question.point.entity.dto.PointQueryDTO;
import team.seekers.hula.question.point.entity.dao.PointDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import team.seekers.hula.question.point.entity.vo.PointManageListVO;

import java.util.List;

/**
 * <p>
 * 关于问题的一个观点 Mapper 接口
 * </p>
 *
 * @author hbc
 * @since 2021-02-15
 */
public interface PointMapper extends BaseMapper<PointDO> {

       List<PointManageListVO> getPointInfo();

       IPage<PointManageListVO> pagePointCondition(
               @Param("page") Page<PointQueryDTO> page,
               @Param("pointQuery") PointQueryDTO pointQuery);

}
